//
//  ViewController.h
//  NinevehglTest
//
//  Created by 郝建林 on 2016/10/10.
//  Copyright © 2016年 CoolTools. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <NinevehGL/NinevehGL.h>
#import "ModelsViewController.h"

#define SliderTagBase   10
#define LabelTagBase    20

enum {
    SliderW = 0,
    SliderX,
    SliderY,
    SliderZ,
};


@protocol RotationState <NSObject>

@property (weak) UIView *view;
@property float rx, ry, rz;

- (void)reset;

- (void)onSliderChanged: (NSInteger)sliderIndex value: (float)sliderValue;

@end


@interface MainViewController : UIViewController<NGLViewDelegate, ModelSelectionDelegate>

@end

